import request from "../axios.js";

export function cozeAPI(data) {
  return request({
    url: "/api/coze/workflow",
    method: "post",
    data,
    params: data
  }, {
    not_code: true
  });
}

export function listAPI(data) {
  return request({
    url: "/api/works/list",
    method: "get",
    params: data
  }, {
    not_code: true
  });
}
